package pers.cz.codegen.describe;

/**
 * @program: jef-code-generator
 * @description: 类型接口
 * @author: Cheng Zhi
 * @create: 2022-08-07 14:37
 **/
public interface IClass {

    /**
     * 基本数据类型
     */
    static final String[] BASE_TYPES = {"int", "double", "float", "long", "char", "short", "boolean", "byte"};

    /**
     * 包装器类型
     */
    static final String[] WRAPPER_TYPES = {"Integer", "Double", "Float", "Long", "Character", "Short", "Boolean", "Byte"};

    /**
     * 获取类全名
     * @return
     */
    public String getName();

    /**
     * 获取简单类名
     * @return
     */
    public String getSimpleName();

    /**
     * 是否数组类型
     * @return
     */
    public boolean isArray();

    /**
     * 是否为基本类型
     * @return
     */
    public boolean isBaseType();
}
